package com.yc.home.cloudindex.fegin;

import com.yc.bean.Result;
import org.springframework.stereotype.Component;

/**
 * Company 源辰信息
 *
 * @author navy
 * @date 2024/9/6
 * Email haijunzhou@hnit.edu.cn
 */
@Component
public class OtherActionImpl implements OtherAction{

    Result hotsCache;
    Result hotsCache1;
    Result hotsCache2;

    @Override
    public Result getweekordernum(String id) {
        return hotsCache;
    }

    @Override
    public Result getFiveQuestionall() {
        return hotsCache1;
    }

    @Override
    public Result getFiveQuestion() {
        return hotsCache2;
    }

    public void setHotsCache(Result result) {
        this.hotsCache = result;
    }

    public void setHotsCache1(Result result) {
        this.hotsCache1 = result;
    }

    public void setHotsCache2(Result result) {
        this.hotsCache2 = result;
    }
}
